class CreateCoordinateBancarie < ActiveRecord::Migration
  def self.up
    create_table :coordinate_bancarie do |t|
    t.string   "iban"
    t.boolean  "predefinito"
    t.text     "descrizione"
    t.integer  "created_by"
    t.integer  "updated_by"
    t.datetime "created_at"
    t.datetime "updated_at"
    t.datetime "deleted_at"

    t.references :coordinate_bancarie_ref, :polymorphic => true

      t.timestamps
    end
  end

  def self.down
    drop_table :coordinate_bancarie
  end
end
